/*
 * SignBean.java
 * business
 *
 * Created by SunDing on 2017/1/9.
 *
 * Copyright (c) 2017年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.realm;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

/**
 * 保存签到信息
 */
public class SignBean extends RealmObject {
    /**
     * 时间
     */
    @PrimaryKey
    private String time;

    /**
     * 是否签到
     */
    private boolean isSign;

    /**
     * 是否打开过信息
     */
    private boolean isOpen;
    /**
     * 用户id
     */
    private String userId;

    private long timestamp;

    public long getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public boolean isSign() {
        return isSign;
    }

    public void setSign(boolean sign) {
        isSign = sign;
    }

    public boolean isOpen() {
        return isOpen;
    }

    public void setOpen(boolean open) {
        isOpen = open;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
